package com.lcq.gulimall.authsever.feign;

import com.lcq.common.utils.R;
import com.lcq.gulimall.authsever.vo.LoginVo;
import com.lcq.gulimall.authsever.vo.RegisterVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-member")
public interface MemberFeign {
    @RequestMapping("member/member/register")
    R register(@RequestBody RegisterVo registerVo);

    @RequestMapping("member/member/login")
    R login(@RequestBody LoginVo loginVo);
}
